package com.sand.user;

import lombok.Data;

//用户类型
public class UserType {

    public static final int MERCHANT = 1; //商家1
    public static final int OWNER = 2;    //客户2

    public static final int WORKER = 3;    //工人3


    public static final int SUPPLIER = 4; //供货商4

    public static boolean pan(int type){
        return type == MERCHANT || type == OWNER || type == WORKER || type == SUPPLIER;
    }



}
